package gw.com.android.recovery;

/**
 * 上传文件返回的实体类
 * more about @see <a href="http://192.168.35.161:9009/apidoc/baseservice/#api-API_upload_file-uploadWithFile">api documentation</a>
 * Created by spence on 17-8-23.
 */

public class ResponseUpFile {
  private String code;
  private String msg;
  private String extendData;
  private Data data;
  private boolean ok;
  private boolean notOk;

  public void setCode(String code) {
    this.code = code;
  }

  public String getCode() {
    return code;
  }

  public void setMsg(String msg) {
    this.msg = msg;
  }

  public String getMsg() {
    return msg;
  }

  public void setExtendData(String extendData) {
    this.extendData = extendData;
  }

  public String getExtendData() {
    return extendData;
  }

  public void setData(Data data) {
    this.data = data;
  }

  public Data getData() {
    return data;
  }

  public void setOk(boolean ok) {
    this.ok = ok;
  }

  public boolean getOk() {
    return ok;
  }

  public void setNotOk(boolean notOk) {
    this.notOk = notOk;
  }

  public boolean getNotOk() {
    return notOk;
  }

  class Data {

    private String fileName;
    private String domain;
    private String fileRelativePath;
    private String fileAbsolutePath;
    private String fileExt;

    public void setFileName(String fileName) {
      this.fileName = fileName;
    }

    public String getFileName() {
      return fileName;
    }

    public void setDomain(String domain) {
      this.domain = domain;
    }

    public String getDomain() {
      return domain;
    }

    public void setFileRelativePath(String fileRelativePath) {
      this.fileRelativePath = fileRelativePath;
    }

    public String getFileRelativePath() {
      return fileRelativePath;
    }

    public void setFileAbsolutePath(String fileAbsolutePath) {
      this.fileAbsolutePath = fileAbsolutePath;
    }

    public String getFileAbsolutePath() {
      return fileAbsolutePath;
    }

    public void setFileExt(String fileExt) {
      this.fileExt = fileExt;
    }

    public String getFileExt() {
      return fileExt;
    }
  }
}